export const getColumnOption = () => ({
	color: ["#1890FF"],
	padding: [15, 15, 0, 5],
	enableScroll: true,
	enableMarkLine: true,
	legend: {},
	xAxis: {
		disableGrid: true,
		itemCount: 6,
		scrollShow: true, //新增是否显示滚动条，默认false
		scrollAlign: 'left', //滚动条初始位置
		scrollBackgroundColor: '#F7F7FF', //默认为 #EFEBEF
		scrollColor: '#DEE7F7', //默认为 #A6A6A6
	},
	yAxis: {
		disableGrid: false,
		gridType: "dash",
		data: [{
			min: 0,
			unit: 'ml'
		}]
	},
	extra: {
		column: {
			type: "group",
			width: 16,
			activeBgColor: "#000000",
			activeBgOpacity: 0.08,
			seriesGap: 5,
			barBorderRadius: [
				16,
				16,
				16,
				16
			]
		},
		// markLine: {
		// 	data: [{
		// 		value: 21,
		// 		showLabel: true
		// 	}]
		// }
	},
})
export const getLineOption = () => {
	return {
		color: ["#1890FF", "#91CB74", "#FAC858", "#EE6666", "#73C0DE", "#3CA272", "#FC8452", "#9A60B4", "#ea7ccc"],
		padding: [15, 10, 0, 15],
		enableScroll: true,
		legend: {},
		xAxis: {
			disableGrid: true,
			scrollShow: true,
			itemCount: 4
		},
		yAxis: {
			gridType: "dash",
			dashLength: 2
		},
		extra: {
			line: {
				type: "straight",
				width: 2,
				activeType: "hollow"
			}
		}
	}
}